package com.financing.platform.dao;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.FaUserBlacklistDTO;
import com.financing.platform.vo.FaUserBlacklistVO;

public interface IFaUserBlacklistDao extends
		IBaseDao  {

	/**
	 * 
	 * @Title: addFaUserBlacklist
	 * @Description: 添加黑名单
	 * @param @param faUserBlacklistDTO
	 * @param @return
	 * @param @throws SQLException   
	 * @return int   
	 * @throws
	 */
	public int addFaUserBlacklist(FaUserBlacklistDTO faUserBlacklistDTO) throws SQLException;
	
	/**
	 * 
	 * @Title: queryFaUserBlacklist
	 * @Description: 查询黑名单
	 * @param @param faId
	 * @param @return   
	 * @return List<FaUserVisitDTO>   
	 * @throws
	 */
	public List<FaUserBlacklistVO> queryFaUserBlacklist(FaUserBlacklistVO faUserBlacklistVO)
			throws SQLException;

	/**查询黑名单数量
	 * @param faUserBlacklistVO
	 * @return
	 * @throws SQLException
	 */
	public int queryFaUserBlacklistCount(FaUserBlacklistVO faUserBlacklistVO)throws SQLException;

	/**查询黑名单列表byuserid
	 * @param faUserBlacklistDTO
	 * @return
	 * @throws SQLException
	 */
	public List<FaUserBlacklistDTO> queryBlacklistByUserId(
			FaUserBlacklistVO faUserBlacklistVO)throws SQLException;
	
}
